package com.astrofizzbizz.raspberrypicamera.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface RaspberryPiServiceAsync 
{
	void takeSingleImage(String imageName, int holdOffTime, String switchSettings, boolean debug, String[] debugResponse, AsyncCallback<String[]> callback);
	void getLatestTimeLapseImageName(boolean debug, String[] debugResponse, AsyncCallback<String[]> callback);
	void startTimeLapse(String intervalString, String maxTimeString, String maxNumImagesString, String switchSettings, boolean debug, String debugResponse, AsyncCallback<String> callback);
	void clearDirectory(String directory, String wildCardExtenstion, boolean debug, String[] debugResponse, AsyncCallback<String[]> callback);
	void isRaspistillRunning(boolean debug, String[] debugResponse, AsyncCallback<String[]> callback);
	void killRaspistill(boolean debug, String[] debugResponse, AsyncCallback<String[]> callback);
}
